package com.easemob.util;

public class PerfUtils
{
  public static int getTimeSpendSecond(long paramLong)
  {
    int i = (int)(System.currentTimeMillis() - paramLong);
    if (i == 0)
      i = 1;
    return i;
  }

  public static int getSpeed(long paramLong1, long paramLong2)
  {
    return (int)((float)paramLong1 / (float)(paramLong2 / 1000L));
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     com.easemob.util.PerfUtils
 * JD-Core Version:    0.6.1
 */